#-------------------------------------------------
#
# Project created by QtCreator 2017-12-01T16:39:32
#
#-------------------------------------------------

QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = ADemoBasedOnQQtR2
TEMPLATE = app

# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
        main.cpp \
    centralcontrolform.cpp \
    centraldisplaydialog.cpp \
    huanbutton.cpp \
    huan1form.cpp \
    huanframe.cpp \
    caidan1button.cpp \
    mainform.cpp \
    yanseban.cpp \
    smoothcurvegenerator.cpp \
    smoothcurvewidget.cpp \
    caidanframe.cpp \
    caidan4bform.cpp \
    mainapplication.cpp \
    huan2form.cpp \
    caidan1groupbutton.cpp \
    framecore.cpp \
    sceneslider.cpp \
    mousemovescrollarea.cpp \
    main2form.cpp \
    demoprotocol.cpp

HEADERS += \
    centralcontrolform.h \
    centraldisplaydialog.h \
    huanbutton.h \
    huan1form.h \
    huanframe.h \
    caidan1button.h \
    mainform.h \
    yanseban.h \
    smoothcurvegenerator.h \
    smoothcurvewidget.h \
    caidanframe.h \
    caidan4bform.h \
    mainapplication.h \
    huan2form.h \
    caidan1groupbutton.h \
    framecore.h \
    sceneslider.h \
    mousemovescrollarea.h \
    main2form.h \
    demoprotocol.h

FORMS += \
    centralcontrolform.ui \
    centraldisplaydialog.ui \
    huanbutton.ui \
    huan1form.ui \
    huanframe.ui \
    caidan1button.ui \
    mainform.ui \
    caidanframe.ui \
    caidan4bform.ui \
    huan2form.ui \
    caidan1groupbutton.ui \
    main2form.ui

#--------------------------------------------------------
# out source
#--------------------------------------------------------
contains(QKIT_PRIVATE, ARM32) {
    target.path = /Application
    INSTALLS += target
}

APP_CONFIG_PWD = $${PWD}/../AppRoot
win32 {
    APP_CONFIG_PWD ~=s,/,\\,g
}

include ($${PWD}/../../LibQQt/src/app_base_manager.pri)

include(app_version.pri)
include(app_language.pri)

OTHER_FILES += $${APP_CONFIG_PWD}/skin/default.qss
win32 {
    OTHER_FILES += $${APP_CONFIG_PWD}/conf/DemoGroup/ADemoBasedOnQQtR2.ini
} else {
    OTHER_FILES += $${APP_CONFIG_PWD}/conf/DemoGroup/ADemoBasedOnQQtR2.conf
}

system("touch main.cpp")

message($$TARGET config $$CONFIG)
message($$TARGET define $$DEFINES)
#message($$TARGET PRELNK $$QMAKE_PRE_LINK)
#message($$TARGET POSLNK $$QMAKE_POST_LINK)
